from appium import webdriver


class Find:

    def __init__(self, driver):
        self.driver = driver

    def find(self, name):
        element = None
        if self.driver is None:
            return element
        try:
            self.driver.find_element_by_id(name)
        except Exception:
            print(Exception)

        return element
